package com.meilai.project.entity.system;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author 张驰
 * @date 2020/8/15 10:06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dictionary")
public class Dictionary extends BaseEntity {
    @ApiModelProperty(value = "父ID")
    private Long pid;
    @ApiModelProperty(value = "顶级ID")
    private Long rid;
    @ApiModelProperty(value = "等级")
    private Integer level;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "编码")
    private String code;
    @ApiModelProperty(value = "备注")
    private String memo;
    @ApiModelProperty(value = "参数")
    private String params;
    @ApiModelProperty(value = "是否隐藏")
    private Boolean hidden;
}
